package tk.sunlatus.project.security.decode;

import java.security.Key;

/**
 * DeCode
 * 
 * @creator 悠忧虫
 * @create-time 2011-6-18 下午02:14:38
 * @revision 1.0
 */
public interface Decoder {

    byte[] decrypt(byte[] keyByte, byte[] data);

    byte[] decrypt(Key key, byte[] data);

    byte[] decrypt(byte[] keyByte, String data);

    byte[] decrypt(Key key, String data);
}
